package com.example.classes;

import java.util.ArrayList;

import android.app.Application;

public class UserApplication extends Application {

	String userid;
	int team;
	int point;
	int roomid;

	private String team1_M1;
	private String team1_M2;
	private String team2_M1;
	private String team2_M2;
	
	private ArrayList<Integer> questions = new ArrayList<Integer>();

	public void reset() {
		point = 0;
		questions.clear();
	}
	
	public void addQuestion(int question) {
		questions.add(question);
	}
	
	public ArrayList<Integer> getQuestions() {
		return questions;
	}
	
	/**
	 * @return the team1_M1
	 */
	public String getTeam1_M1() {
		return team1_M1;
	}

	/**
	 * @param team1_M1
	 *            the team1_M1 to set
	 */
	public void setTeam1_M1(String team1_M1) {
		this.team1_M1 = team1_M1;
	}

	/**
	 * @return the team1_M2
	 */
	public String getTeam1_M2() {
		return team1_M2;
	}

	/**
	 * @param team1_M2
	 *            the team1_M2 to set
	 */
	public void setTeam1_M2(String team1_M2) {
		this.team1_M2 = team1_M2;
	}

	/**
	 * @return the team2_M1
	 */
	public String getTeam2_M1() {
		return team2_M1;
	}

	/**
	 * @param team2_M1
	 *            the team2_M1 to set
	 */
	public void setTeam2_M1(String team2_M1) {
		this.team2_M1 = team2_M1;
	}

	/**
	 * @return the team2_M2
	 */
	public String getTeam2_M2() {
		return team2_M2;
	}

	/**
	 * @param team2_M2
	 *            the team2_M2 to set
	 */
	public void setTeam2_M2(String team2_M2) {
		this.team2_M2 = team2_M2;
	}

	/**
	 * @return the roomid
	 */
	public int getRoomid() {
		return roomid;
	}

	/**
	 * @param roomid
	 *            the roomid to set
	 */
	public void setRoomid(int roomid) {
		this.roomid = roomid;
	}

	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}

	/**
	 * @param userid
	 *            the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}

	public int getTeam() {
		return team;
	}

	public void setTeam(int team) {
		this.team = team;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	public void addPoint() {
		point++;
	}
}
